<!DOCTYPE html>
<html>
<head>
    <?php
    $this_dir = dirname(__FILE__) . '/';
    include $this_dir . '../head.tpl';
    ?>
    <title>书籍列表</title>
</head>
<body>
<script type="text/javascript">
    autoFontSize();
    checkPermission();
</script>
<div class="page_books_index">
<ul>
<?php
foreach($v['books'] as $one) {
    echo '<li><a href="/books/' . $one['sid'] . '">《' . $one['name'] . '》' . $one['author'] . '</a></li>';
}
?>
</ul>
<div class="clear"></div>
</div>
</body>
</html>
